{template "content","header"}
<style type="text/css" >
.photo_prev a{cursor:url({IMG_PATH}v9/prev.cur), auto;}
.photo_next a{cursor:url({IMG_PATH}v9/next.cur), auto;}

</style>
<div class="conMidBox">
  <div class="container_12" style="position:relative;">
    <div class="Bread"> <a href="{siteurl($siteid)}">首页</a><span>></span><a href="#">{catpos($catid)}</a><span>正文</span> </div>
    <div class="title">{$CATEGORYS[$catid][catname]}</div>
  </div>
</div>
<!--con start-->
<div class="container_12 conBox"> 
  <!--left start-->
  <div class="leftBox">
    <div class="left"> 
      <!--slider start-->
      <div class="top">活动公告</div>
      <div class="slider3Box"> {pc:content action="lists" catid="112" num="9" order="id DESC" return="data"}
        <ul id="slider3" class="slider3">
          {loop $data $v}
          <li>
            <p><a href="{$v['url']}">{str_cut($v['title'],110)}</a></p>
            <span>[ {date('Y/m/d',$v[inputtime])} ]</span> </li>
          {/loop}
        </ul>
        {/pc} </div>
      <!--slider over-->
      <div class="clear"></div>
      <!--联系我们 start--> 
      {php $blockid = 'special_'.$specialid.'_1';}
      {pc:block pos="$blockid"}
      {/pc} 
      <!--联系我们 over--> 
    </div>
    <div class="clear"></div>
  </div>
  <!--left over--> 
  <!--right start-->
  <div class="right">
    <div class="pageCon">
      <h3>{$title}</h3>
      <span style="display:block; margin-bottom:30px; width:100%; border-bottom:1px solid #d7d7d7; padding-bottom:10px;">{$inputtime}&nbsp;&nbsp;&nbsp; 点击：<span id="hits"></span></span>
      </h1>
      <div class="pageCon"> 
        
        <!----> 
        {pc:get sql="SELECT b.* FROM v9_member a ,v9_member_detail b where a.userid=b.userid and a.username='$username'" cache="3600" page="0"  return="memberlist"} <span class="Field">所属院校：{$memberlist[0][ssyx]}</span><span class="Field">队伍人数：{$memberlist[0][dwrs]}</span><span class="Field">队长姓名：{$memberlist[0][dzxm]}</span><span class="Field" style="display:none;">{$memberlist[0][lxdm]}</span>
        <div class="clear"></div>
        {/pc}
        {if $app_video}
        <h4>作品视频</h4>
        <script type="text/javascript" src="jwplayer/jwplayer.js"></script>
        <div style="margin-bottom:30px;" id="container_1"></div>
        <div class="clear"></div>
        <script type="text/javascript">
		jwplayer("container_1").setup({
			flashplayer: "jwplayer/playerdiy.swf",
			file: "{$app_video}",
			width: 630,
			height: 400,
			controlbar: "over",
			screencolor :"#222"
		});
</script>
        <div class="clear"></div>
        {/if}
        {if $img_list}
        <h4>作品图片</h4>
        <script type="text/javascript" src="{JS_PATH}default/jquery.easing.1.3.js"></script> 
        <script type="text/javascript" src="{JS_PATH}default/jquery.galleryview-1.1.js"></script> 
        <script type="text/javascript" src="{JS_PATH}default/jquery.timers-1.1.2.js"></script> 
<script type="text/javascript">
	$(document).ready(function(){
		$('#photos').galleryView({
			panel_width: 630,
			panel_height: 400,
			frame_width: 80,
			frame_height: 120
		});
	});
</script>
        <div id="photos" class="galleryview">
          {loop $img_list $v}
            {php $pattern ='/<a href=\'(.*)\' target=\'_blank\'>(.*)<\/a>/i'}
			{php preg_match_all($pattern,$v,$res)}
             <div class="panel"> <img src="{$res[1][0]}"/> <div class="panel-overlay">{$res[2][0]}</div></div>
          {/loop}
          <ul class="filmstrip">
          {loop $img_list $v}
       		  
            {php $pattern ='<a href=\'(.*)\' target=\'_blank\'>'}
			{php preg_match($pattern,$v,$res)}
             <li><img src="{$res[1]}" /></li>
          {/loop}
          </ul>
        </div>
        {/if}
        <h4>作品介绍</h4>
        {$content}
        <p class="f14 upDown"> <strong>上一篇：</strong><a href="{$previous_page[url]}">{$previous_page[title]}</a><br />
          <strong>下一篇：</strong><a href="{$next_page[url]}">{$next_page[title]}</a> </p>
      </div>
    </div>
  </div>
  <!--right over-->
  <div class="clear"></div>
</div>
<script language="JavaScript">
<!--
	function add_favorite(title) {
		$.getJSON('{APP_PATH}api.php?op=add_favorite&title='+encodeURIComponent(title)+'&url='+encodeURIComponent(location.href)+'&'+Math.random()+'&callback=?', function(data){
			if(data.status==1)	{
				$("#favorite").html('收藏成功');
			} else {
				alert('请登录');
			}
		});
	}
//-->
</script> 
<script type="text/javascript" src="{JS_PATH}show_picture.js"></script> 
<script type="text/javascript" src="{APP_PATH}api.php?op=count&id={$id}&modelid={$modelid}"></script> 
{template "content","footer"}